import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
//.导入element
import  ElementPlus from 'element-plus'
import  'element-plus/dist/index.css'
//导入axios
import axios from  'axios';
//导入qs
import qs from 'qs'
//配置基础卢吉尼
axios.defaults.baseURL = 'http://localhost:8080';
const app = createApp(App)
//指定全局对象
app.config.globalProperties.$axios = axios
app.config.globalProperties.$qs = qs
//使用elment
app.use(ElementPlus)
app.use(router).mount('#app')
